Skip to content

Conversation

@jconstam
Copy link

  • By default, Mongoose OS uses -Werror
  • The ret variable in mbedtls_hmac_drbg_update_ret is declared without assignment.
  • GCC will treat this as a compiler error unless the maybe-initialized error is completely disabled

* By default, Mongoose OS uses -Werror
* The ret variable in mbedtls_hmac_drbg_update_ret is declared without assignment.
* GCC will treat this as a compiler error unless the maybe-initialized error is completely disabled
@rojer
Copy link
Contributor

rojer commented Aug 25, 2022

sorry, this fell through the cracks.
but wait, we compile this code for all platforms, how come this doesn't break build for any of them?
which platform is affected?

@jconstam
Copy link
Author

I'm using ESP32. I was surprised too. 😅

@rojer
Copy link
Contributor

rojer commented Sep 1, 2022

i want to repro this first myself. can you create a minimal app that fails to build because of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants